package com.network.cfg;

/**
 * 存放系统的一些配置信息和常量
 * @author Ling Xiaowei
 *
 */
public class Configuration {
	
	public static final String ROOT_USERNAME = "root";
	
	public static final int PAGE_SIZE = 20;
	
	public static final String ADMIN_FLAG = "A";
	
	public static final String USER_FLAG = "U";
	
	//默认的网络图节点最小度
	public static final int DEFAULT_MINAVDGREE = 0;
	
	public static final String GOTO_ADMIN_HOMEPAGE = "adminHomepage";
	
	public static final String GOTO_USER_HOMEPAGE = "userHomepage";
	
	public static final String GOTO_LOGIN = "login";
	
	public static final String PAGE_OBJ = "page_obj";
	
	public static final String HELPER_OBJ = "helper_obj";
	
	public static final String ADMIN_RETURN_MSG = "adminReturnMsg";
	
	public static final String USER_RETURN_MSG = "userReturnMsg";
	
	public static final String USER = "user";
	
	public static final String LOGIN_PAGE_PATH = "/jsp/login.jsp";
	
	public static final String GOTO_SHOW_BA = "show_ba";
	public static final String GOTO_SHOW_BBV = "show_bbv";
	public static final String GOTO_SHOW_ER = "show_er";
	public static final String GOTO_SHOW_SWB = "show_swb";
	public static final String GOTO_SHOW_WS = "show_ws";
	
	public static final String GOTO_AVG_DEGREE = "show_avg_degree";
	public static final String GOTO_CRUEL = "show_cruel";
	
	public static final String NETWORK_TEMP_FILE_PATH = "file/network/";
	public static final String CURVE_TEMP_FILE_PATH = "file/curve/";

}
